<?php


namespace app\model;


use think\Model;
use think\model\concern\SoftDelete;

class UserPostsLike extends Model
{
    //使用软删除
    use SoftDelete;
    //定义软删除字段
    protected $deleteTime = 'delete_time';
    //隐藏软删除
    protected $hidden = ['delete_time'];
}